runtime.p.mspancache (field)
20 uses
runtime (current package)
mheap.go#L1092: if pp == nil || pp.mspancache.len == 0 {
mheap.go#L1096: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1097: pp.mspancache.len--
mheap.go#L1120: if pp.mspancache.len == 0 {
mheap.go#L1121: const refillCount = len(pp.mspancache.buf) / 2
mheap.go#L1123: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1125: pp.mspancache.len = refillCount
mheap.go#L1128: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1129: pp.mspancache.len--
mheap.go#L1148: if pp != nil && pp.mspancache.len < len(pp.mspancache.buf) {
mheap.go#L1149: pp.mspancache.buf[pp.mspancache.len] = s
mheap.go#L1150: pp.mspancache.len++
proc.go#L5139: for i := 0; i < pp.mspancache.len; i++ {
proc.go#L5141: mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i]))
proc.go#L5143: pp.mspancache.len = 0
runtime2.go#L668: mspancache struct {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |